package XML;

public class AddTag implements Command{
	public TagXML t, radacina;
	
	public AddTag(){
		super();
	}
	
	public AddTag(TagXML t, TagXML r){
		this.t = t;
		this.radacina = r;
	}

	public TagXML getT() {
		return t;
	}

	public void setT(TagXML t) {
		this.t = t;
	}

	public TagXML getRadacina() {
		return radacina;
	}

	public void setRadacina(TagXML radacina) {
		this.radacina = radacina;
	}
	
	public void execute(){
		t.taguri.add(radacina);
	}
}
